package com.hongkl.mapper;

import com.hongkl.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 做数据库的映射
 */
@Mapper
public interface UserMapper {

    List<User> getAll();


    User getUserInfo(String username);


    Integer update(User user);

    Integer deleteUser(Integer id);
}
